  <!-- Site Showcase -->
  <div class="site-showcase">
  <!-- Start Page Header -->
  <div class="parallax page-header" style="background-image:url(http://placehold.it/1200x260&amp;text=IMAGE+PLACEHOLDER);">
  		<div class="container">
        	<div class="row">
            	<div class="col-md-12">
  					<h1><?php echo __('Edit a Post'); ?></h1>
        		</div>
           </div>
       </div>
  </div>
  <!-- End Page Header -->
  </div>
  <!-- Start Content -->
  <div class="main" role="main">
      <div id="content" class="content full">
        	<div class="container">
          		<div class="page">
        			<div class="row">
              			<div class="col-md-12">
                        	<?php echo $this->Form->create('BlogPost', array('role' => 'form','type' => 'file')); ?>
                          <div class="block-heading" id="details">
                     			 <a href="#additionalinfo" class="btn btn-sm btn-default pull-right"><?php echo __('Enter Blog Categories'); ?> <i class="fa fa-chevron-down"></i></a>
                              <h4><span class="heading-icon"><i class="fa fa-plus"></i></span><?php echo __('Blog Post Details'); ?></h4>
                          </div>
                          <div class="padding-as25 margin-30 lgray-bg">
                              <div class="row">
                                      <div class="col-md-12 col-sm-12">
                                      <?php echo $this->Form->input('title', array('class' => 'form-control', 'placeholder' => 'Title'));?>
                                      <?php echo $this->Form->input('id', array('class' => 'form-control', 'placeholder' => 'Title'));?>
                                  </div>
                              </div>
                              <div class="row">
                                    <div class="col-md-12 col-sm-12 submit-description">
									<?php echo $this->Form->input('summary', array('rows'=>"2" ,'cols'=>"10" ,'class' => 'form-control  margin-0', 'placeholder' => 'Blog Summary'));?>
                                  </div>
                                  <div class="col-md-12 col-sm-12 submit-description">
									<?php echo $this->Form->input('body', array('rows'=>"15" ,'cols'=>"10" ,'class' => 'form-control  margin-0', 'placeholder' => 'Blog body'));?>
                                  </div>
                                  </div>
                          </div>
                          <div class="block-heading" id="additionalinfo">
                     			 <a href="#amenities" class="btn btn-sm btn-default pull-right"><?php echo  __('Enter Published'); ?><i class="fa fa-chevron-down"></i></a>
                              <h4><span class="heading-icon"><i class="fa fa-picture-o"></i></span><?php echo  __('Blog Media'); ?></h4>
                          </div>
                          <div class="padding-as25 margin-30 lgray-bg">
                          <div class="row">
                                 	<div class="col-md-3 col-sm-3">
                                      	<label><?php echo __('Upload Image'); ?></label>
                                        <p><?php echo __('Upload images that are best clicked for better appearance of your Blog'); ?></p> 
                                  	</div>
                                 	<div class="col-md-3 col-sm-3 submit-image">
                                    	
                                        <?php 
										if(isset($BlogPost['BlogPost']['image1']) and !empty($BlogPost['BlogPost']['image1'])){
										$image1	=	'/files/blog/thumb/'.$BlogPost['BlogPost']['image1'];
										echo $this->Html->image($image1,array('width' => '220px','alt'=>'',"class"=>"image-placeholder"));
										}
										else
										{
											echo '<div class="image-placeholder">Image 1</div>';
										}
										 ?>
                                    	<?php echo $this->Form->input('image1', array('type' => 'file')); ?>
                                  </div>
                                 	
                              </div>
                              </div>
                          
                          <div class="block-heading" id="additionalinfo">
                     			 <a href="#amenities" class="btn btn-sm btn-default pull-right"><?php echo  __('Enter Published'); ?><i class="fa fa-chevron-down"></i></a>
                              <h4><span class="heading-icon"><i class="fa fa-plus"></i></span><?php echo  __('Blog Categories'); ?></h4>
                          </div>
                          <div class="padding-as25 margin-30 lgray-bg">
                              <div class="row">
                                      <div class="col-md-6 col-sm-6">
										<?php echo $this->Form->input('BlogPostCategory', array('class' => 'form-control', 'placeholder' => 'Blog Categories'));?>
                                  </div>
                                  <div class="col-md-6 col-sm-6">
										<?php echo $this->Form->input('BlogPostTag', array('class' => 'form-control', 'placeholder' => 'Blog Tags'));?>
                                  </div>
                              </div>
                              
                          </div>
                          
                          
<div class="block-heading" id="amenities">
                     			 <a href="#submit-property" class="btn btn-sm btn-default pull-right"><?php echo  __('Submit Blog'); ?> <i class="fa fa-chevron-down"></i></a>
                              <h4><span class="heading-icon"><i class="fa fa-cog"></i></span><?php echo __('Published'); ?></h4>
                          </div>
                          <div class="padding-as25 margin-30 lgray-bg">
                           <div class="row">
                                  <div class="col-md-4 col-sm-4 col-xs-4">
									<?php echo $this->Form->input('published', array('placeholder' => 'Published'));?>
                                  </div>
<?php /*?>                                  <div class="col-md-4 col-sm-4 col-xs-4">
									<?php echo $this->Form->input('sticky', array('placeholder' => 'Sticky'));?>
                                  </div>
                                  <div class="col-md-4 col-sm-4 col-xs-4">
									<?php echo $this->Form->input('in_rss', array('default' => 1,'placeholder' => 'IN RSS'));?>
                                  </div>
<?php */?>                                </div>
                                </div>
                          <div class="text-align-center" id="submit-property">
                            <?php echo $this->Form->submit(__('Submit'), array('class' => 'btn btn-primary btn-lg')); ?>
                          </div>
                        	<?php echo $this->Form->end() ?>
                   	</div>
          			</div>
        		</div>
      		</div>
    	</div>
  </div>
